package com.sy.olddriver.service;

import com.sy.olddriver.entity.User;

import java.util.List;

public interface UserService {
    void register(String name, String pwd, String pwdConfirm, String phone, String inputValidateCode, String correctValidateCode);

    boolean checkNameDuplicate(String name);

    boolean checkPhoneDuplicate(String phone);

    User login(String name, String pwd);

    User getLoginUser(String token);
}
